package com.naiterui.ehp.bp.utils.payment.bo;

import lombok.Data;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 关单结果
 *
 * @author 王泽浩
 * @since 1.0.0
 */
@Data
@SuppressWarnings("unused")
@ApiModel(value = "CloseOrderResult", description = "关单结果")
public class CloseOrderResultBO implements java.io.Serializable {

    /**
     * 关单成功
     */
    public static final int CLOSE_SUCCESS = 0;

    /**
     * 关单失败
     */
    public static final int CLOSE_FAIL = 1;

    private static final long serialVersionUID = -4571591764715851157L;

    @ApiModelProperty(value = "订单号")
    private String orderSn;

    @ApiModelProperty(value = "关单状态 0：关闭成功 1：关闭失败")
    private Integer closeOrderStatus;

    @ApiModelProperty(value = "关单失败原因")
    private String failMsg;

    public CloseOrderResultBO() {

    }

    public CloseOrderResultBO(String orderSn, Integer closeOrderStatus) {
        this.orderSn = orderSn;
        this.closeOrderStatus = closeOrderStatus;
    }
}
